import { Component } from 'react';
import Header from '../Header/Header';
import Footer from '../Footer/Footer';
import Play from '../Play/Play';
import { renderRoutes } from 'react-router-config';

export default class Index extends Component {
	render () {
		return (
			<div>
				<Header></Header>
				{renderRoutes(this.props.route.routes)}
				<Footer></Footer>
				<Play></Play>
			</div>
		)
	}
}
